package com.example.demo.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class TestController {


    @PostMapping("/hello")
    public String hello(){
        return "hello";
    }


    @GetMapping("/say")
    public String say(){
        return "say";
    }

    @GetMapping("send")
    public String sendMsg(){
        return "已发送";
    }
}
